<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>SuperBomberman:  Fichier source de ennemi.h</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Généré par Doxygen 1.5.5 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Page&nbsp;principale</span></a></li>
      <li class="current"><a href="files.html"><span>Fichiers</span></a></li>
    </ul>
  </div>
<h1>ennemi.h</h1><a href="ennemi_8h.html">Aller à la documentation de ce fichier.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 
<a name="l00010"></a>00010 <span class="preprocessor">#ifndef _Ennemi</span>
<a name="l00011"></a>00011 <span class="preprocessor"></span><span class="preprocessor">#define _Ennemi</span>
<a name="l00012"></a>00012 <span class="preprocessor"></span><span class="preprocessor">#include "<a class="code" href="bombe_8h.html" title="Déclarations des types et fonctions pour l&amp;#39;utilisation d&amp;#39;une Bombe au cours...">bombe.h</a>"</span>
<a name="l00013"></a>00013 
<a name="l00014"></a>00014 <span class="keyword">struct </span>sEnnemi {
<a name="l00015"></a>00015     <span class="keywordtype">int</span> posx;
<a name="l00016"></a>00016     <span class="keywordtype">int</span> posy;
<a name="l00017"></a>00017     <span class="keywordtype">char</span> direction;
<a name="l00018"></a>00018     <span class="keywordtype">int</span> nb_vie;
<a name="l00019"></a>00019 };
<a name="l00020"></a>00020 <span class="keyword">typedef</span> <span class="keyword">struct </span>sEnnemi Ennemi;
<a name="l00021"></a>00021 
<a name="l00029"></a>00029 <span class="keywordtype">void</span> Ennemi_Creation(Ennemi *&amp; e);
<a name="l00030"></a>00030 
<a name="l00039"></a>00039 <span class="keywordtype">int</span> Ennemi_Getposx(Ennemi * e);
<a name="l00040"></a>00040 
<a name="l00049"></a>00049 <span class="keywordtype">int</span> Ennemi_Getposy(Ennemi * e);
<a name="l00050"></a>00050 
<a name="l00059"></a>00059 <span class="keywordtype">char</span> Ennemi_Getdirection(Ennemi * e);
<a name="l00060"></a>00060 
<a name="l00070"></a>00070 <span class="keywordtype">void</span> Ennemi_Setposx(Ennemi * e, <span class="keyword">const</span> <span class="keywordtype">int</span> &amp;x);
<a name="l00071"></a>00071 
<a name="l00081"></a>00081 <span class="keywordtype">void</span> Ennemi_Setposy(Ennemi * e, <span class="keyword">const</span> <span class="keywordtype">int</span> &amp;y);
<a name="l00082"></a>00082 
<a name="l00091"></a>00091 <span class="keywordtype">void</span> Ennemi_Setdirection(Ennemi * e, <span class="keyword">const</span> <span class="keywordtype">char</span> &amp;dir);
<a name="l00092"></a>00092 
<a name="l00101"></a>00101 <span class="keywordtype">int</span> Ennemi_Getnbvie(Ennemi * e);
<a name="l00102"></a>00102 
<a name="l00111"></a>00111 <span class="keywordtype">void</span> Ennemi_Setnbvie(Ennemi * e, <span class="keyword">const</span> <span class="keywordtype">int</span> &amp;nbv);
<a name="l00112"></a>00112 
<a name="l00119"></a>00119 <span class="keywordtype">void</span> Ennemi_Decrementevie(Ennemi * e);
<a name="l00120"></a>00120 
<a name="l00129"></a>00129 <span class="keywordtype">void</span> Ennemi_affectationsurterrain(Ennemi * e, <span class="keyword">const</span> Terrain &amp;t);
<a name="l00130"></a>00130 
<a name="l00139"></a>00139 <span class="keywordtype">void</span> Ennemi_mouvement(Ennemi * e, <span class="keyword">const</span> Terrain &amp;t);
<a name="l00140"></a>00140 
<a name="l00152"></a>00152 <span class="keywordtype">bool</span> Ennemi_PresenceSurTrajetBombe(Ennemi * e, Bombe * b,<span class="keyword">const</span> Terrain &amp;t);
<a name="l00153"></a>00153 
<a name="l00160"></a>00160 <span class="keywordtype">void</span> Ennemi_testament(Ennemi * e);
<a name="l00161"></a>00161 
<a name="l00162"></a>00162 
<a name="l00163"></a>00163 <span class="preprocessor">#endif</span>
</pre></div></div>
<hr size="1"><address style="text-align: right;"><small>Généré le Sun Jun 7 15:01:15 2009 pour SuperBomberman par&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
</body>
</html>
